/**
 * description
 * <p>fill description</p>
 * @author zido
 * @since 2017/5/30 0030
 */

import {connect} from 'react-redux'
import {increase,doubleAsync} from '../modules/counter'
import Counter from '../components/Counter'

const mapDispatchToProps = {
  increase : () => increase(1),
  doubleAsync
}

const mapStateToProps = (state) => ({
  counter : state.counter
})

export default connect(mapStateToProps,mapDispatchToProps)(Counter)